<template>
  <div class="app-container">
    <router-view/>
  </div>
</template>

<script>
  export default {
    name: 'App'
  }
</script>

<style type="text/scss" lang="scss">
  @import "./assets/common";
  @import "../public/font-awesome-4.7.0/css/font.css";

  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    cursor: pointer;
  }

  .el-scrollbar__bar.is-vertical .el-scrollbar__thumb {
    background: rgba(144, 147, 153, .2);
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    height: 10px;
    background: rgba(144, 147, 153, .2); // #a3b8dc
    cursor: pointer;
    &:hover {
      background: rgba(144, 147, 153, .6);
      cursor: pointer;
    }
  }

  ::-webkit-scrollbar-track {
    border-radius: 10px;
    cursor: pointer;
  }

  * {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  html,
  body {
    height: 100%;
    font-family: "Microsoft Yahei";
  }

  body {
    line-height: 1;
    font-size: 14px;
    color: #333435;
  }

  /* HTML5 display-role reset for older browsers */
  article,
  aside,
  details,
  figcaption,
  figure,
  footer,
  header,
  hgroup,
  menu,
  nav,
  section {
    display: block;
  }

  ol,
  ul {
    list-style: none;
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  i {
    font-style: normal;
  }

  /* float */
  .clearfix:after {
    content: "";
    height: 0;
    display: block;
    clear: both;
  }

  .el-pagination {
    text-align: right;
    margin-top: 15px;
  }

  .app-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    .page-content {
      position: relative;
      min-height: 100%;
      -webkit-transition: margin-left .28s;
      transition: margin-left .28s;
      margin-left: 200px;
      .content-box {
        height: calc(100vh - 86px);
        background: #f3f3f3;
        overflow: hidden;
        padding: 10px;
        .content-block {
          position: relative;
          margin-bottom: 0;
          height: 100%;
          background: #fff;
          box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
          overflow: hidden;
          .content-main {
            padding: 0 10px 10px 10px;
            .content-title {
              padding: 15px 15px 15px 0;
              .title-text, .title-text-dot {
                position: relative;
                float: left;
                font-size: 20px;
                padding-left: 15px;
              }
              .title-text-dot {
                padding-left: 20px;
                &:before {
                  content: '';
                  position: absolute;
                  left: 3px;
                  top: 6px;
                  width: 9px;
                  height: 9px;
                  border-radius: 50%;
                  background: #499BFF; /* fallback for old browsers */
                  background: -webkit-linear-gradient(45deg, #499BFF, #3582FF); /* Chrome 10-25, Safari 5.1-6 */
                  background: linear-gradient(45deg, #499BFF, #3582FF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
                }
              }
              .title-handle {
                float: right;
                .handel-item {
                  float: right;
                  padding-left: 10px;
                }
              }
              .title-handle:after {
                content: "";
                height: 0;
                display: block;
                clear: both;
              }
            }
            .content-title:after {
              content: "";
              height: 0;
              display: block;
              clear: both;
            }
          }
        }
        .content-line:before {
          content: '';
          position: absolute;
          left: 0;
          top: 0;
          width: 5px;
          height: 46px;
          background: #4977FC;
        }
      }
    }
  }

  .content-foot {
    position: absolute;
    @include line-height(50px);
    width: 100%;
    background-color: $white;
    bottom: 0;
    right: 0;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    padding-left: 80px;
    animation: fade-in;
    animation-duration: 1.3s;
    -webkit-animation: fade-in 1.3s;
    z-index: 999;
  }

  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @-webkit-keyframes fade-in {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .href-hover:hover {
    color: #4977FC;
  }

  .text-red {
    color: #ff2825;
  }

  .text-red:hover {
    color: #ff2825;
  }

  .text-red:active {
    color: #ff8180;
  }

  .text-red:focus {
    color: #ff2825;
  }

  .text-green {
    color: #67c23a;
  }

  .text-green:hover {
    color: #95d676;
  }

  .text-green:active {
    color: #67c23a;
  }

  .text-green:focus {
    color: #67c23a;
  }

  .text-gray {
    color: #909399;
  }

  .text-gray:hover {
    color: #bdbec2;
  }

  .text-gray:active {
    color: #909399;
  }

  .text-gray:focus {
    color: #909399;
  }

  .text-orange {
    color: #e6a23c;
  }

  .text-orange:hover {
    color: #eebe77;
  }

  .text-orange:active {
    color: #e6a23c;
  }

  .text-orange:focus {
    color: #e6a23c;
  }

  .text-blue {
    color: #4B8AFF;
  }

  .text-blue:hover {
    color: #80beff;
  }

  .text-blue:active {
    color: #4B8AFF;
  }

  .text-blue:focus {
    color: #4977FC;
  }

  .el-select {
    width: 100%;
  }

  .el-date-editor.el-input,
  .el-date-editor.el-input__inner {
    width: 100%;
  }

  .detail-title {
    text-align: center;
    padding-bottom: 10px;
  }

  .detail-block {
    padding: 10px 20px;
    border: 1px solid $light-gray;
    overflow: auto;
    line-height: 1.5;
    max-height: 400px;
  }

  .detail-block div,
  p {
    line-height: 1.5;
  }

  .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .avatar-uploader .el-upload:hover {
    border-color: #4977FC;
  }

  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }

  .avatar {
    width: 178px;
    height: 178px;
    display: block;
  }

  .span-ellipsis {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .el-tree-active {
    color: #4977FC;
  }

  .el-tooltip__popper {
    max-width: 1000px;
    min-height: 50px;
    line-height: 20px;
  }

  .el-menu-item {
    height: 40px;
    line-height: 40px;
  }

  .el-submenu__title:hover {
    background-color: rgba(39, 50, 69, 0.5) !important;
  }

  .el-menu-item:hover {
    background-color: rgba(39, 50, 69, 0.5) !important;
  }

  .el-menu-item.is-active {
    color: $white !important;
    background-color: #273245 !important;
    border-left: 5px solid #4977FC;
  }

  .el-tree-node__content:hover {
    background-color: #f5f5f5 !important;
  }

  .del-dialog-cnt {
    text-align: center;
  }

  .el-table {
    color: #333435;
  }

  .el-table thead {
    color: #333435;
    font-weight: 500;
  }

  .el-table th {
    background-color: #E6EAF6;
  }

  .table-line .el-table__row.expanded td:first-child:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #4B8AFF;
  }

  .el-dialog {
    border-radius: 8px;
  }

  .table-ht {
    width: 100%;
    height: calc(100vh - 206px);
  }

  .el-table__empty-block {
    height: 180px !important;
  }

  .el-table__empty-block .el-table__empty-text {
    color: transparent;
  }

  .el-table__empty-block .el-table__empty-text:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 150px;
    top: 10px;
    left: calc(50% - 150px);
    background: url("assets/images/no_data.png") no-repeat;
    background-size: 100% 100%;
    z-index: 99;
  }

  .detail-info {
    font-size: 14px !important;
    line-height: 2 !important;
    padding: 5px;
  }

  .detail-info p {
    font-size: 14px !important;
    line-height: 2 !important;
    padding: 5px;
  }

  .detail-info div {
    font-size: 14px !important;
    line-height: 2 !important;
    padding: 5px;
  }

  .detail-info span {
    font-size: 14px !important;
    line-height: 2 !important;
    padding: 5px;
  }

  .detail-info img {
    height: 100%;
    width: 100%;
    background-size: cover;
  }
  .cell-blue {
    background: #4977FC !important;
    color: #fff !important;
  }

  .change-td {
    line-height: 1.5;
    text-align: center;
    padding: 13px 5px;
  }
</style>
